<%-- 
    Document   : staff-secretary
    Created on : Mar 29, 2013, 11:34:14 AM
    Author     : Farley
--%>

<%@page import="UserManager.Staff"%>
<%@page import="UserManager.Announcement"%>
<%@page import="UserManager.*"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="EN" lang="EN" dir="ltr">
<head profile="http://gmpg.org/xfn/11">
<title>Ateneo de Davao University</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta http-equiv="imagetoolbar" content="no" />
<link rel="stylesheet" href="styles/layout.css" type="text/css" />
<!-- Homepage Specific Elements -->
<script type="text/javascript" src="scripts/jquery-1.4.1.min.js"></script>
<script type="text/javascript" src="scripts/jquery-ui-1.7.2.custom.min.js"></script>
<script type="text/javascript" src="scripts/jquery.tabs.setup.js"></script>
<!-- End Homepage Specific Elements -->
</head>
<body id="top">
    <%
    if(session.getAttribute("st_loggedType") == null)
        response.sendRedirect("index.jsp");
    else if("1".equals(session.getAttribute("s_isLogged")))
            response.sendRedirect("student.jsp");
    else if("Department Head".equals(session.getAttribute("st_loggedType")))
        response.sendRedirect("staff-deptHead.jsp");
    else if("Regular".equals(session.getAttribute("st_loggedType")))
        response.sendRedirect("staff-regular.jsp");
    else{
        Staff staff = (Staff) session.getAttribute("staffInfo");
        Announcement global = (Announcement) session.getAttribute("globalannounce");
        String[] titles = global.getTitle();
        String[] bodies = global.getBody();
        String[] datesPosted = global.getDatePosted();
    %>
<div class="wrapper row1">
  <div id="header" class="clear">
    <div class="fl_left">
        <h1><a href="index.jsp"><u><b>Ateneo de Davao University</b></u></a></h1>
      <p><i>Faith in God.</i></p>
    </div>
    <div class="fl_right">
      <ul>
            <li class="last"><a href="#">Welcome, Secretary <%=staff.getSt_FirstName()%> <%=staff.getSt_MI()%>. <%=staff.getSt_LastName()%>!</a></li>
            
      </ul>
      <ul>
        <li><a href="staff-regular.jsp">Home</a></li>
        <li><a href="addGlobal.jsp">Make a Campus Announcement</a></li>
        <li class="last"><a href="s_logoutServlet">Logout</a></li>
      </ul>
        
      <form action="#" method="post" id="sitesearch">
        <fieldset>
          <strong>Search:</strong>
          <input type="text" value="Search Our Website&hellip;" onfocus="this.value=(this.value=='Search Our Website&hellip;')? '' : this.value ;" />
          <input type="image" src="images/search2.png" id="search" alt="Search" />
        </fieldset>
      </form>
    </div>
  </div>
</div>
<!-- ####################################################################################################### -->
<div class="wrapper row2">
  <div class="rnd">
    <!-- ###### -->
    <div id="topnav">
      <ul>
        <li class="active"><a href="index.jsp">Home</a></li>
        <li><a href="#">Academics</a></li>
        <li><a href="#">Admission</a></li>
        <li><a href="#">University Life</a></li>
        <li class="last"><a href="#">Offices</a></li>
      </ul>
    </div>
    <!-- ###### -->
  </div>
</div>
<!-- ####################################################################################################### -->
<div class="wrapper">
  <div id="featured_slide" class="clear">
    <!-- ###### -->
    <div class="overlay_left"></div>
    <div id="featured_content">
      <div class="featured_box" id="fc1"><img src="images/demo/slider/banner_3.jpg" alt="" />
        <div class="floater">
            <h2><u>The Vision</u></h2>
          <p>The Ateneo de Davao University is a Catholic, Jesuit and Filipino University. As a university it is a community engaged in excellent instruction and formation, robust research, and vibrant community service.</p>
          <p class="readmore"><a href="#"><u>Continue Reading &raquo;</u></a></p>
        </div>
      </div>
      <div class="featured_box" id="fc2"><img src="images/demo/slider/banner_5.jpg" alt="" />
        <div class="floater">
          <h2><u>Tradition of Excellence</u></h2>
          <p>The University single-mindedly aspires to champion a strong tradition of academic excellence and of greater service. </p>
          <p class="readmore"><a href="#"><u>Continue Reading &raquo;</u></a></p>
        </div>
      </div>
      <div class="featured_box" id="fc3"><img src="images/demo/slider/banner_3.1.jpg" alt="" />
        <div class="floater">
            <h2><u>Jesuit Education</u></h2>
          <p>Jesuit education is adaptable to many diverse learners--traditional age and adult, full-time and part-time, on-campus and online.</p>
          <p class="readmore"><a href="#"><u>Continue Reading &raquo;</u></a></p>
        </div>
      </div>
      <div class="featured_box" id="fc4"><img src="images/demo/slider/banner_4.jpg" alt="" />
        <div class="floater">
          <h2><u>Ateneo Alumni Association</u></h2>
          <p>The Ateneo Alumni Association aims to bring together the thousands of Ateneo alumni all over the world and form a more sustainable and empowered alumni organization and network.</p>
          <p class="readmore"><a href="#"><u>Continue Reading &raquo;</u></a></p>
        </div>
      </div>
      <div class="featured_box" id="fc5"><img src="images/demo/slider/banner_last.jpg" alt="" />
        <div class="floater">
            <h2><u>Ateneo: 5 Peat Champions!</u></h2>
          <p>The Ateneo de Manila University Blue Eagles have made it five championships in a row, dispatching the University of Santo Tomas Growling Tigers, 65-62, Thursday, in the end of the Norman Black era at Ateneo.</p>
          <p class="readmore"><a href="#"><u>Continue Reading &raquo;</u></a></p>
        </div>
      </div>
    </div>
    <ul id="featured_tabs">
      <li><a href="#fc1">About Ateneo de Davao University</a></li>
      <li><a href="#fc2">Why You Should Study With Us</a></li>
      <li><a href="#fc3">Education And Student Experience</a></li>
      <li><a href="#fc4">Alumni And Its Donors</a></li>
      <li class="last"><a href="#fc5">Latest University News &amp; Events</a></li>
    </ul>
    <div class="overlay_right"></div>
    <!-- ###### -->
  </div>
</div>
<!-- ####################################################################################################### -->
<div class="wrapper row3">
  <div class="rnd">
    <div id="container" class="clear">
      <!-- ####################################################################################################### -->
      <div id="homepage" class="clear">
        <!-- ###### -->
        <div id="left_column">
          <h2>Prospective Students</h2>
          <div class="imgholder"><a href="#"><img src="images/demo/left1.jpg" alt="" /></a></div>
          <h2>Current Students</h2>
          <div class="imgholder"><a href="#"><img src="images/demo/left2.jpg" alt="" /></a></div>
          <h2>International Students</h2>
          <div class="imgholder"><a href="#"><img src="images/demo/left3.jpg" alt="" /></a></div>
          <h2>Alumni</h2>
          <div class="imgholder"><a href="#"><img src="images/demo/left4.jpg" alt="" /></a></div>
        </div>
        <!-- ###### -->
        <div id="latestnews">
          <h2>Latest Announcements</h2>
          <ul>
            <li class="clear">
              <div class="imgl"><img src="images/demo/ADDU_logo.jpg" alt="" /></div>
              <div class="latestnews">
                <p><a href="#"><%=titles[global.getCount()-1]%></a></p>
                <p><%=bodies[global.getCount()-1]%></p>
                <p class="readmore"><a href="#"><u>Continue Reading &raquo;</u></a></p>
              </div>
            </li>
            <li class="clear">
              <div class="imgl"><img src="images/demo/ADDU_logo.jpg" alt="" /></div>
              <div class="latestnews">
                <p><a href="#"><%=titles[global.getCount()-2]%></a></p>
                <p><%=bodies[global.getCount()-2]%></p>
                <p class="readmore"><a href="#"><u>Continue Reading &raquo;</u></a></p>
              </div>
            </li>
            <li class="last clear">
              <div class="imgl"><img src="images/demo/ADDU_logo.jpg" alt="" /></div>
              <div class="latestnews">
                <p><a href="#"><%=titles[global.getCount()-3]%></a></p>
                <p><%=bodies[global.getCount()-3]%></p>
                <p class="readmore"><a href="#"><u>Continue Reading &raquo;</u></a></p>
              </div>
            </li>
          </ul>
          <p class="readmore"><a href="viewCampusAnnouncement">Click here to view all of the announcements &raquo;</a></p>
      
          
          
        </div>
        <!-- ###### -->
        <div id="right_column">
          <div class="holder">
            <h2>Virtual Campus Tour</h2>
            <a href="#"><img src="images/demo/tour.jpg" alt="" /></a> </div>
          <div class="holder">
            <h2>Quick Information</h2>
            <div class="apply"><a href="#"><img src="images/demo/right1.jpg" alt="" /> <strong>Make An Application</strong></a></div>
            <div class="apply"><a href="#"><img src="images/demo/right2.jpg" alt="" /> <strong>Order A Prospectus</strong></a></div>
          </div>
        </div>
        <!-- ###### -->
      </div>
      <!-- ####################################################################################################### -->
      <div id="twitter" class="clear">
        <div class="fl_left"><a href="#">Follow Us On Twitter</a></div>
        <div class="fl_right">Do you have a Twitter? Seems everyone does these days. If you have a Twitter account, be sure to follow us <a href="#">@akosilepar</a> - We have a lot of stuff in-store for you!</div>
      </div>
      <!-- ####################################################################################################### -->
      <div id="academiclinks" class="clear">
        <h2>Quickly Find What You Are Looking For</h2>
        <div class="linkbox">
          <ul>
            <li><a href="#">&raquo; Academic Advisory</a></li>
            <li><a href="#">&raquo; Academic Assistance</a></li>
            <li><a href="#">&raquo; Academic Calendars</a></li>
            <li><a href="#">&raquo; Academics Office</a></li>
            <li><a href="#">&raquo; Administration</a></li>
            <li><a href="#">&raquo; Adult Learners</a></li>
            <li><a href="#">&raquo; Alumni Chapters</a></li>
            <li><a href="#">&raquo; Alumni Events</a></li>
            <li><a href="#">&raquo; Athletics</a></li>
            <li><a href="#">&raquo; Campus Life At a Glance</a></li>
            <li><a href="#">&raquo; Campus Recreation</a></li>
            <li><a href="#">&raquo; Campus Safety &amp; Security</a></li>
          </ul>
        </div>
        <div class="linkbox">
          <ul>
            <li><a href="#">&raquo; Class Schedules</a></li>
            <li><a href="#">&raquo; Counselling Center</a></li>
            <li><a href="#">&raquo; Course Descriptions and Catalogue</a></li>
            <li><a href="#">&raquo; Department Directory</a></li>
            <li><a href="#">&raquo; Departments &amp; Programs</a></li>
            <li><a href="#">&raquo; Fellowships</a></li>
            <li><a href="#">&raquo; Finals Schedules</a></li>
            <li><a href="#">&raquo; Financial Aid</a></li>
            <li><a href="#">&raquo; Fitness and Recreation Facilities</a></li>
            <li><a href="#">&raquo; Global Learning</a></li>
            <li><a href="#">&raquo; Graduate</a></li>
            <li><a href="#">&raquo; Graduate Admissions</a></li>
          </ul>
        </div>
        <div class="linkbox">
          <ul>
            <li><a href="#">&raquo; Graduate Health Services</a></li>
            <li><a href="#">&raquo; Graduate Housing</a></li>
            <li><a href="#">&raquo; Graduate Programs</a></li>
            <li><a href="#">&raquo; Graduate Student Association</a></li>
            <li><a href="#">&raquo; Graduate Studies</a></li>
            <li><a href="#">&raquo; Honours Program</a></li>
            <li><a href="#">&raquo; Interactive Schedule</a></li>
            <li><a href="#">&raquo; International Programs</a></li>
            <li><a href="#">&raquo; International Students</a></li>
            <li><a href="#">&raquo; Intramural Sports</a></li>
            <li><a href="#">&raquo; Language Resources</a></li>
            <li><a href="#">&raquo; Maps and Directions</a></li>
          </ul>
        </div>
        <div class="linkbox last">
          <ul>
            <li><a href="#">&raquo; Office of the Registrar</a></li>
            <li><a href="#">&raquo; Online Learning</a></li>
            <li><a href="#">&raquo; Parent Information</a></li>
            <li><a href="#">&raquo; Residence Life</a></li>
            <li><a href="#">&raquo; Residential Colleges</a></li>
            <li><a href="#">&raquo; Schools and Colleges</a></li>
            <li><a href="#">&raquo; Student Activities</a></li>
            <li><a href="#">&raquo; Student Affairs</a></li>
            <li><a href="#">&raquo; Student Development</a></li>
            <li><a href="#">&raquo; Student Financial Services</a></li>
            <li><a href="#">&raquo; Student Group Directory</a></li>
            <li><a href="#">&raquo; Student Life</a></li>
          </ul>
        </div>
      </div>
      <!-- ####################################################################################################### -->
    </div>
  </div>
</div>
<!-- ####################################################################################################### -->
<div class="wrapper row4">
  <div class="rnd">
    <div id="footer" class="clear">
      <!-- ####################################################################################################### -->
      <div class="fl_left clear">
        <div class="fl_left center"><img src="images/demo/worldmap.gif" alt="" /><br />
          <a href="#">Find Us With Google Maps &raquo;</a></div>
        <address>
        8016<br />
        E. Jacinto Street.<br />
        Davao City, Philippines<br />
        1211<br />
        <br />
        Contact No: 0927 794 9612<br />
        Email: <a href="#">faadizon@addu.edu.ph</a>
        </address>
      </div>
      <div class="fl_right">
        <div id="social" class="clear">
          <p>Stay Up to Date With Whats Happening</p>
          <ul>
            <li><a style="background-position:0 0;" href="#">Twitter</a></li>
            <li><a style="background-position:-72px 0;" href="#">LinkedIn</a></li>
            <li><a style="background-position:-142px 0;" href="#">Facebook</a></li>
            <li><a style="background-position:-212px 0;" href="#">Flickr</a></li>
            <li><a style="background-position:-282px 0;" href="#">RSS</a></li>
          </ul>
        </div>
        <div id="newsletter">
          <form action="#" method="post">
            <fieldset>
              <legend>Subscribe To Our Newsletter:</legend>
              <input type="text" value="Enter Email Here&hellip;" onfocus="this.value=(this.value=='Enter Email Here&hellip;')? '' : this.value ;" />
              <input type="text" id="subscribe" value="Submit" />
            </fieldset>
          </form>
        </div>
      </div>
      <!-- ####################################################################################################### -->
    </div>
  </div>
</div>
<!-- ####################################################################################################### -->
<div class="wrapper">
  <div id="copyright" class="clear">
    <p class="fl_left">Copyright &copy; 2013 - All Rights Reserved - <a href="#">Ateneo de Davao University</a></p>
    <p class="fl_right">Template by <a href="http://www.os-templates.com/" title="Free Website Templates">OS Templates |</a> Customized by: Farley A. Dizon Jr.</p>
  </div>
</div>
<%}%>
</body>
</html>

